﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZJF.advance._04_多态1
{
    public abstract class Car
    {
        public string type { get; set; }

        public string engine { get; set; }


        public abstract void run();

        public virtual void info() {
            Console.WriteLine($"{this.type} 车的引擎是：{this.engine}");
        }
    }
}
